package com.gameplatform.model;

import java.util.Date;

public class Comment {
    private int id;
    private int gameId;
    private int userId;
    private String content;
    private Date createTime;
    private String username;
    
    // 构造函数
    public Comment() {}
    
    public Comment(int gameId, int userId, String content) {
        this.gameId = gameId;
        this.userId = userId;
        this.content = content;
    }
    
    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    
    public int getGameId() { return gameId; }
    public void setGameId(int gameId) { this.gameId = gameId; }
    
    public int getUserId() { return userId; }
    public void setUserId(int userId) { this.userId = userId; }
    
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
    
    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }
}